package com.myosw.action;

import java.io.IOException;
import java.util.List;

import javax.servlet.ServletException;

import com.myosw.dao.UrlsDao;
import com.myosw.pojo.Urls;

public class IndexAction extends BaseAction {

	@Override
	public void execute() throws ServletException, IOException 
	{
		UrlsDao dao = new UrlsDao();
		List<Urls> list = dao.getShowUrls();
		root.put("list", list);
		printFreemarker("default/index.ftl", root);
	}
	

}
